package com.bro.person.admin.service;

import com.bro.person.base.service.IBroBaseService;
import com.bro.person.admin.model.AdminUser;
import com.bro.person.admin.model.AdminUserCriteria;

/**
 * AdminUser的 DB操作service
 *
 * @author jdd
 * @version 1.0
 * @date 2018-10-11 09:53:41
 */
public interface IAdminUserService extends IBroBaseService<AdminUser, AdminUserCriteria, Integer> {

    /**
     * 通过username 查询用户信息（从cache中查询）
     * @param username
     * @return
     */
    AdminUser loadCacheByUsername(String username);
}
